package cn.js.ccit.service;

import cn.js.ccit.entity.Department;
import cn.js.ccit.vo.DepartmentVo;

import java.util.List;

public interface DepartmentService {
    /** 查询部门列表 */
    List<DepartmentVo> getDepartmentBy(Department department);

    /** 根据ID查询部门列表 */
    DepartmentVo getDepartmentById(Integer departmentId);

    /** 查询部门列表 */
    List<DepartmentVo> getAllDepartment();

    /** 添加新部门 */
    boolean addDepartment(Department department);

    /** 删除部门 */
    boolean deleteDepartmentById(Integer departmentId);
}
